package com.ruoyi.expressdelivery.mapper;

import com.ruoyi.expressdelivery.domain.ExpressDelivery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ExpreeDeliveryMapper {

    public List<ExpressDelivery> selectInformation(String saleordernum);

    public ExpressDelivery selectExpressDelivery(String  saleordernum);

    public List<ExpressDelivery> selectfpInformation(String companyId);

    public List<ExpressDelivery> selectSfInformation(String saleordernum);

    public List<ExpressDelivery> selectcompany(String companyId);

    public void deleteinformation(String saleordernum);

    public void insertkd(ExpressDelivery expressDelivery);


    public void insertfpsf(ExpressDelivery expressDelivery);

    public void insertSf(ExpressDelivery expressDelivery);

    public void updateWl(@Param("phone") String phone, @Param("shdz") String shdz, @Param("name") String name, @Param("saleordernum") String saleordernum, @Param("remarks") String remarks);

    public void updateWlfp(@Param("phone") String phone, @Param("shdz") String shdz, @Param("name") String name, @Param("saleordernum") String saleordernum, @Param("remarks") String remarks);

    public void insertwl(@Param("phone") String phone, @Param("shdz") String shdz, @Param("name") String name, @Param("saleordernum") String saleordernum, @Param("remarks") String remarks,@Param("companyId") Long companyId,@Param("createtime") String createtime,@Param("loginname") String loginname);

}

